import React, {Component} from 'react';
import {Carousel} from 'antd';
import SliderStyles from './index.module.scss';

class Slider extends Component {
    render() {
        return (
            <div className={SliderStyles.slider + ' clearfix'}>
                <div className={SliderStyles.l}>
                    <Carousel>
                        <div className={SliderStyles.carousel_item}>
                            <img src={require('../../asstes/images/slider/190612055823181.jpg')} alt="" />
                        </div>
                        <div className={SliderStyles.carousel_item}>
                            <img src={require('../../asstes/images/slider/190612055823181.jpg')} alt="" />
                        </div>
                    </Carousel>
                </div>
                <div className={SliderStyles.r}>
                    <div className={SliderStyles.ad1}>
                        <img src={require('../../asstes/images/slider/wechat-miniapp.jpg')} alt="" />
                    </div>
                    <div className={SliderStyles.ad2}>
                        <img src={require('../../asstes/images/slider/190509025519155.png')} alt="" />
                    </div>
                </div>
            </div>
        );
    }
}

export default Slider;
